package com.jinly.ryder.account.service;

import com.jinly.ryder.account.service.model.DingTalkDept;
import com.jinly.ryder.account.service.model.DingTalkUserInfo;

import java.util.List;

public interface DingtalkService {
    List<DingTalkDept> getDeptList();

    List<DingTalkUserInfo> getUserListByDeptId(Long deptId);

    DingTalkUserInfo getUserInfo(String userId);

    String getAccessToken(String appKey, String appSecret);
}
